<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<head>
<style>
p{
    white-space: nowrap;
}
</style>
</head>
<body>
<h2>开头</h2>
<p>
    This is some text. This is some text. This is some text
    This is some text. This is some text. This is some text
    This is some text. This is some text. This is some text
    This is some text. This is some text. This is some text
    This is some text. This is some text. This is some text
</p>
        
    <p>删除 white-space 属性来看一下区别</p>
</body>
</html>